<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>JS</title>
	<script type="text/javascript">
		function run(num){
			var i=1;
			while(3*i<=num){
				i++;
			}
			return i-1;
		}
		document.write(run(300));

	</script>
</head>
<body>
<table>
	
</table>
</body>
</html>